package com.cyzy.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("passenger")
public class Passenger {
  @TableId(value = "user_id",type = IdType.AUTO)
  private long userId;
  private String name;
  private String phone;
  @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
  private String password;
  private String gender;
  private String avatar;
  private String idCard;
  private java.sql.Timestamp createTime;
  private double balance;
  private long userStatus;
  private String userAcc;
}
